using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class FindParentResourceGroupRequest : OrganizationRequest
	{
		public Guid ParentId
		{
			get
			{
				if (base.Parameters.Contains("ParentId"))
				{
					return (Guid)base.Parameters["ParentId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["ParentId"] = value;
			}
		}
		public Guid[] ChildrenIds
		{
			get
			{
				if (base.Parameters.Contains("ChildrenIds"))
				{
					return (Guid[])base.Parameters["ChildrenIds"];
				}
				return null;
			}
			set
			{
				base.Parameters["ChildrenIds"] = value;
			}
		}
		public FindParentResourceGroupRequest()
		{
			base.RequestName = "FindParentResourceGroup";
			this.ParentId = default(Guid);
			this.ChildrenIds = null;
		}
	}
}
